using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEditor.Playables;
using UnityEngine;
namespace FrameworkDesign
{
    public interface ICanGetUtility :IBelongToArchitecture,ICanSendEvent,ICanRegisterEvent
    {

    }
    public static class ICanGetUtilityExtension
    {
        public static T GetUtility<T>(this ICanGetUtility self) where T : class,IUtility
        {
           return self.GetArchitecture().GetUtility<T>();
        }
    }
}

